﻿using System.Drawing;
using MediaPortal.GUI.Library;
using MediaPortal.Util;

public class GUISkypeVideo : GUIControl
{
  #region Construction

  public Skype4MPVideoControl(int nParentID) : base(nParentID)
  {
  }

  public override void FinalizeConstruction()
  {
    base.FinalizeConstruction();
    Picture img = new Picture();
    
    for (int i = 0; i < SubItemCount; ++i)
    {
      string strTexture = (string)GetSubItem(i);
      GUIImage img = new GUIImage(_parentControlId, _controlId, _positionX, _positionY, _textureWidth, _textureHeight,
                                  strTexture, 0);
      img.ParentControl = this;
      img.DimColor = DimColor;
      _itemList.Add(img);
    }
  }

  #endregion Construction


  #region Properties

  public Image Image()
  {
    return Image;
  }

  #endregion Properties


  #region Skin variables

  [XMLSkinElement("font")]
  protected string m_strFont = "font18";
 

  #endregion Skin variables


}

